try:
    num1=100
    num2='a'
    int(num2)
    print(num1/num2)
except ValueError:
    print('数据错误')
except TypeError:
    print('类型错误')
except ZeroDivisionError:
    print('0不能做除数')